<admintpl file="header" />
</head>
<body>
    <div class="wrap js-check-wrap">
        <ul class="nav nav-tabs">
            <li><a href="{:U('Retained/users')}">用户留存</a></li>
            <li class="active"><a href="{:U('Retained/devices')}">设备留存</a></li>
        </ul>
            <table class="table table-hover table-bordered" style="word-break:break-all;">
                <thead>
                    <tr>
                        <th width="60">id</th>
                        <th>日期</th>
						<th>次日</th>
                        <th>三日</th>
                        <th>四日</th>
                        <th>五日</th>
                        <th>六日</th>
                        <th>七日</th>
                        <th>八日</th>
                        <th>九日</th>
                        <th>十日</th>
                        <th>十五日</th>
                        <th>二十日</th>
                        <th>三十日</th>
                    </tr>
                </thead>
                <foreach name="retained" item="vo">
                    <tr>
                        <td>{$vo.id}</td>
                        <td>{$vo.datetime}</td>
                        <td><a href="{:U('Retained/devices_detail',array('id'=>$vo['id'],'day'=>'day2'))}" title="点击查看详细">{:round($vo['day2']/$vo['quantity']*100,2)}%</a></td>
                        <td><a href="{:U('Retained/devices_detail',array('id'=>$vo['id'],'day'=>'day3'))}" title="点击查看详细">{:round($vo['day3']/$vo['quantity']*100,2)}%</a></td>
                        <td><a href="{:U('Retained/devices_detail',array('id'=>$vo['id'],'day'=>'day4'))}" title="点击查看详细">{:round($vo['day4']/$vo['quantity']*100,2)}%</a></td>
                        <td><a href="{:U('Retained/devices_detail',array('id'=>$vo['id'],'day'=>'day5'))}" title="点击查看详细">{:round($vo['day5']/$vo['quantity']*100,2)}%</a></td>
                        <td><a href="{:U('Retained/devices_detail',array('id'=>$vo['id'],'day'=>'day6'))}" title="点击查看详细">{:round($vo['day6']/$vo['quantity']*100,2)}%</a></td>
                        <td><a href="{:U('Retained/devices_detail',array('id'=>$vo['id'],'day'=>'day7'))}" title="点击查看详细">{:round($vo['day7']/$vo['quantity']*100,2)}%</a></td>
                        <td><a href="{:U('Retained/devices_detail',array('id'=>$vo['id'],'day'=>'day8'))}" title="点击查看详细">{:round($vo['day8']/$vo['quantity']*100,2)}%</a></td>
                        <td><a href="{:U('Retained/devices_detail',array('id'=>$vo['id'],'day'=>'day9'))}" title="点击查看详细">{:round($vo['day9']/$vo['quantity']*100,2)}%</a></td>
                        <td><a href="{:U('Retained/devices_detail',array('id'=>$vo['id'],'day'=>'day10'))}" title="点击查看详细">{:round($vo['day10']/$vo['quantity']*100,2)}%</a></td>
                        <td><a href="{:U('Retained/devices_detail',array('id'=>$vo['id'],'day'=>'day15'))}" title="点击查看详细">{:round($vo['day15']/$vo['quantity']*100,2)}%</a></td>
                        <td><a href="{:U('Retained/devices_detail',array('id'=>$vo['id'],'day'=>'day20'))}" title="点击查看详细">{:round($vo['day20']/$vo['quantity']*100,2)}%</a></td>
                        <td><a href="{:U('Retained/devices_detail',array('id'=>$vo['id'],'day'=>'day30'))}" title="点击查看详细">{:round($vo['day30']/$vo['quantity']*100,2)}%</a></td>
                    </tr>
                </foreach>
                <thead>
                    <tr>
                        <th width="60">id</th>
                        <th>日期</th>
						<th>次日</th>
                        <th>三日</th>
                        <th>四日</th>
                        <th>五日</th>
                        <th>六日</th>
                        <th>七日</th>
                        <th>八日</th>
                        <th>九日</th>
                        <th>十日</th>
                        <th>十五日</th>
                        <th>二十日</th>
                        <th>三十日</th>
                    </tr>
                </thead>
            </table>
            <div class="pagination">{$page}</div>
    </div>
    <script src="__PUBLIC__/js/common.js"></script>
</body>
</html>
